package com.zeyu.soc.log.interactive.protocol;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class CommandRet implements Serializable {

	// ================================================================
	// Constants
	// ================================================================

	/**
	 */
	private static final long serialVersionUID = 1L;

	// ================================================================
	// Fields
	// ================================================================

	private int retCode = 1;
	private String retMsg;
	private List<Throwable> throwables = new ArrayList<Throwable>();

	// ================================================================
	// Constructors
	// ================================================================

	// ================================================================
	// Methods from/for super Interfaces or SuperClass
	// ================================================================

	// ================================================================
	// Public or Protected Methods
	// ================================================================

	// ================================================================
	// Getter & Setter
	// ================================================================

	public int getRetCode() {
		return retCode;
	}

	public void setRetCode(int retCode) {
		this.retCode = retCode;
	}

	public String getRetMsg() {
		return retMsg;
	}

	public void setRetMsg(String retMsg) {
		this.retMsg = retMsg;
	}

	public List<Throwable> getThrowables() {
		return throwables;
	}

	public void setThrowables(List<Throwable> throwables) {
		this.throwables = throwables;
	}

	// ================================================================
	// Private Methods
	// ================================================================

	// ================================================================
	// Inner or Anonymous Class
	// ================================================================

	// ================================================================
	// Test Methods
	// ================================================================
}
